Converts frequency into the corresponding note and octave. If optional basenote is not supplied, frequency 1 corresponds c 0. Note that the frequency can be an integer, real number or rational number. All values must be greater or equal than 1. See note-to-freq.